<template>
  <div>
    <div class="loading">
      <div></div>
      <div></div>
      <div></div>
    </div>
  </div>
</template>
<script>
export default {};
</script>
<style scoped>
.loading {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  column-gap: 8px;
}

.loading div {
  width: 10px;
  height: 10px;
  background-color: #1890ff;
  border-radius: 50%;
  animation: jump 0.6s alternate infinite;
}

.loading div:nth-child(2) {
  animation-delay: 0.2s;
}

.loading div:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes jump {
  to {
    opacity: 0.1;
    transform: translateY(-16px);
  }
}
</style>
